package com.crm.system.service.customerManager;

import com.alibaba.fastjson.JSONObject;
import com.crm.model.qo.customerManager.CustomerPoolAddQO;

/**
 * @ Author ：pym
 * @ Date   ：2021/1/17 15:16
 */
public interface CustomerPoolRuleService {
    /**
     * 添加客户池规则
     * @param customerPoolAddQO
     * @param customerPoolId
     * @return
     */
    Boolean addCustomerPoolRule(CustomerPoolAddQO customerPoolAddQO, String customerPoolId);

    /**
     * 根据客户池id删除客户池规则
     * @param customerPoolId
     * @return
     */
    Boolean deleteCustomerPoolRuleByCluePoolId(String customerPoolId);

    /**
     * 查询客户池公司
     * @param customerPoolId
     * @return
     */
    JSONObject selectCustomerPoolRule(String customerPoolId);
}
